<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
  </head>
  <style>
    body {
      padding: 0;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      background-color: skyblue;
      overflow: hidden;
    }
    .box {
        position: relative;
        font-size: 33px;
        width: 7.5em;
        height: 2.5em;
        background: linear-gradient(to right,gold,darkorange);
        color: white;
        border-radius: 2em;
        text-align: center;
        letter-spacing: .2em;
        line-height: 2.5em;
        border: 1px solid darkgoldenrod;
        box-shadow: 2px 0 0 5px rgba(0,0,0,.2);
        text-shadow: 6px 3px 2px rgba(0,0,0,.2);
        transform: perspective(500px) rotateY(-15deg);
        transition: .5s;
        overflow: hidden;
    }
    .box:hover{
        transform: perspective(500px) rotateY(15deg);
        box-shadow: -2px 0 0 5px rgba(0,0,0,.2);
        text-shadow: -6px 2px 3px rgba(0,0,0,.2);
    }
    .box::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right,transparent,white,transparent);
        left: -100%;
        transition: .5s;
    }
    .box:hover::before{
        left: 100%;
    }
  </style>
  <body>
    <div class="box">
      BUTTON
    </div>
  </body>
</html>
